<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>签到信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>
	

  </head>
  
 <body>

	<div class="panel admin-panel">
		<div class="panel-head">
			<strong class="icon-reorder"> 签到信息列表</strong>
		</div>
		<form method="post" action="SignAction_add">
		
		<table class="table table-hover text-center">
			<tr>
				<th>序号</th>
				<th>用户编号</th>
				<th>用户名称</th>
				<th>学号</th>
				<th>班级编号</th>
				<th>性别</th>
				<th>操作</th>
			</tr>
			<c:forEach var="listss" items="${lists}" varStatus="index">
					<tr>
					<td>${listss.id}</td>
					<td>${listss.userId}</td>
					<td>${listss.userName}</td><input type="hidden" name="listes[${index.count-1}].userName" value="${listss.userName}" />
					<td>${listss.stuId}</td>
					<td>${listss.classesName}</td><input type="hidden" name="listes[${index.count-1}].classesName"  value="${listss.classesName}"/>
					 	<c:if test="${0 == listss.sex}">
		                <td>女</td>
		                </c:if>
		                <c:if test="${1 == listss.sex}">
		                <td>男</td>
		                </c:if>
					<td>
						<select name="listes[${index.count-1}].isSign" id="isSign" class="input" onchange="changesearch()" style="width:60px; line-height:17px; display:inline-block">
					            <option value="0">未签到</option>
					            <option value="1">已签到</option>
					            <option value="2">迟到</option>
					            <option value="3">旷课</option>
					          </select>
					</td>
					</tr>
			</c:forEach>
		</table>
		<div class="padding border-bottom">
			<ul class="search" style="padding-left:10px;">
				<li>请输入本次签到课程信息：</li>
				<li>
						<input type="text" placeholder="请输入课程名称信息" name="courseName1"   required="true"
							class="input" style="width:250px; line-height:17px;display:inline-block" />  
				</li>
			</ul>
		</div>
		<div class="padding border-bottom">
		<button type="submit" class="button border-main ">提交</button>
		 <button type="reset" class="button border-red">重置</button>
		</div>
		</form>
	</div>
	<div class="pagelist">
		<a href="">上一页</a> <span class="current">1</span><a href="">2</a><a
			href="">3</a><a href="">下一页</a><a href="">尾页</a>
	</div>

</body>
</html>
